package com.gxnzd.communityelderly.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;
import lombok.Data;

/**
 * @TableName diagnosis
 */
@TableName(value ="diagnosis")
@Data
public class Diagnosis implements Serializable {
    @TableId(value="diagnosis_id",type = IdType.AUTO)
    private Integer diagnosisId;

    private Integer userId;

    private Integer doctorId;

    private Double totalPrice;

    private Integer reservationId;

    private Integer communityId;

    private String symptom;

    private String descriptions;

    private Integer isFever;

    private Integer degree;

    private Integer isEpidemic;

    private Integer isComplication;

    private String suggestion;

    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;

    @TableField(fill = FieldFill.INSERT)
    private Long createUser;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Long updateUser;

    //是否删除
    @TableLogic
    private Integer isDeleted;

    private static final long serialVersionUID = 1L;
}